package com.hotel.utils;

import com.hotel.entity.User;


public class RegisterVerification {
	public static String Verification(User user){
		
		String account = user.getAccount();
		String password = user.getPassword();
    	String email = user.getEmail();
    	String name = user.getName();
    	String idCard = user.getIdCard();
    	String phoneNumber = user.getPhoneNumber();
		String avatar = user.getAvatar();

		if((password == "") || (account == "") || (email == "") || (name == "") || (idCard == "") || (phoneNumber == "") || (avatar == "")){
			return Message.Message_1002;
		}
	
		return Message.Message_0002;
	}
}
